
import mylayout from '@/views/console/module/myLayout'

let console = [
  {
    path: '/my',
    name: 'my',
    redirect: "/my/info",
    component: mylayout,
    affiliation: 'console',
    meta: { title: '个人中心', icon: 'icon9', name: 'my' },
    children: [
      {
        path: 'info',
        component: () => import('@/views/console/my'),
        name: 'consolemy',
        meta: {
          title: '基本信息',
          icon: 'nav-menu-icon1',
          affiliation: "my"
        }
      },
      {
        path: 'password',
        component: () => import('@/views/console/password'),
        name: 'consolepassword',
        meta: {
          title: '修改密码',
          icon: 'nav-menu-icon1',
          affiliation: "my"
        }
      },
    ]
  },
  {
    path: '/member',
    name: 'member',
    component: () => import('@/views/console/member'),
    affiliation: 'console',
    meta: { title: '成员管理', icon: 'icon9', name: 'member' }
  },
  {
    path: '/global',
    name: 'global',
    component: () => import('@/views/console/global'),
    affiliation: 'console',
    meta: { title: '任务管理', icon: 'icon9', name: 'global' }
  },
  // {
  //   path: '/sshkey',
  //   name: 'sshkey',
  //   component: () => import('@/views/console/sshkey'),
  //   affiliation: 'console',
  //   meta: { title: 'sshkey', icon: 'icon9', name: 'sshkey' }
  // },
]
export default console
